<div class="title">{ %lang f23 }</div>
<form action="" method="post">
<table cellpadding="4" cellspacing="4">
<tr><td>{ %lang f16}</td><td> { #data[hash] } </td></tr>
<tr><td>{ %lang f17}</td><td> { #data[alias] } </td></tr>
<tr><td>{ %lang f9}</td><td> { #data[modname] } </td></tr>
<tr><td>{ %lang f2}</td><td> { #data[funcname] } </td></tr>
<!-- guest access -->
<tr><td>{ %lang f4}</td><td> <select name="guest"><option { %if {#data[guest]} eq false}selected{/if} value="0" >{ %lang f14}</option><option { %if {#data[guest]} eq true}selected{/if} value="1">{ %lang f13}</option></select></td></tr>
<!-- output areas -->
<tr><td>{ %lang f6}</td><td>
<select name="position">
<?php for($i=0;$i<count($outareas);$i++) { ?>
<option { %if {#data[position]} eq {#outareas[<?php print $i;?>][name]} }selected{/if} value="{#outareas[<?php print $i;?>][name]}">{ #outareas[<?php print $i;?>][value]}</option>
<?php } ?>
</select>
</td></tr>
<!-- use on start -->
<tr><td>{ %lang f8}</td><td> <select name="onstart"><option { %if {#data[onstart]} eq false}selected{/if} value="0" >{ %lang f14}</option><option { %if {#data[onstart]} eq true}selected{/if} value="1">{ %lang f13}</option></select></td></tr>
<!-- levellinks -->
<tr> <td valign="top">{ %lang f5}</td><td>
<?php for($i=0;$i<count($levels);$i++){ ?>
<input type="checkbox" name="levels[]" { %loop j=#levellinks } { %if {#levellinks[j]} eq {#levels[<?php print $i;?>][id]} }checked{/if} {/loop} value="{ #levels[<?php print $i;?>][id] }">&nbsp;-&nbsp;{ #levels[<?php print $i;?>][name] }<br>
<?php } ?>
</td> </tr>
<!-- with module -->
<tr> <td>{ %lang f25}</td><td><select name="withmod"><option value="">{ %lang f14}</option>
<?php for($i=0;$i<count($modules);$i++) { print "<option value=\"".$modules[$i]."\" ".($modules[$i]==$data["withmod"]?"selected":null)." >".$modules[$i]."</option>"; } ?>
</select></td></tr>

<!-- runwith -->
<tr> <td>{ %lang f24}</td><td>
<select name="runwith">
<option value="0" >{ %lang f14 }</option>
<option value="-1" { %if {#data[runwith]} eq -1 }selected{/if} >{ %lang f15}</option>
<?php for($i=0;$i<count($runwith);$i++){ ?>
<option value="{#runwith[<?php print $i;?>][hash]}" { %if {#data[runwith]} eq {#runwith[<?php print $i;?>][hash]} }selected{/if} > {#runwith[<?php print $i;?>][alias]}</option>
<?php } ?>
</select>
</td> </tr>
<tr> <td>{ %lang f19}</td><td>{ #data[memuse]}&nbsp;{ %lang f21}</td> </tr>
<tr> <td>{ %lang f20}</td><td>{ #data[extime]}&nbsp;{ %lang f22}</td> </tr>
<tr> <td colspan="2" align="center"><input type="Submit" value="{ %lang f12 }" ></td> </tr>
</table>
</form>
